﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.Domain.Shared
{
    /// <summary>
    /// 查询基类
    /// </summary>
    public class BaseQuery
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 20;
        public long PageCount { get; set; } = 1;
        public long RecordCount { get; set; } = 0;
        public long GetStartIndex() {
            return (this.PageIndex - 1) * PageSize;
        }

       
    }
}
